#pragma once


// CListBoxExEx

class CListBoxEx : public CListBox
{
	DECLARE_DYNAMIC(CListBoxEx)

public:
	CListBoxEx();
	virtual ~CListBoxEx();

protected:
	DECLARE_MESSAGE_MAP()

public:

	int AddString(LPCTSTR sItemText);
	int InsertString(int nItemIndex, LPCTSTR sItemText);

	CString GetStringData(int nItemIndex);
	
	int AddStringData(LPCTSTR sItemText, LPCTSTR sItemData);
	void DeleteStringData(int nItemIndex);

	void ResetStringContent();

};


